<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>无标题文档</title>
    <link th:href="@{/css/style.css}" rel="stylesheet" type="text/css"/>
    <th:block th:include="public::common-script"></th:block>
    <script th:src="@{/layer/layer.js}" type="text/javascript"></script>
</head>

<body>

<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="#">成绩导入</a></li>
    </ul>
</div>

<ul class="forminfo">
    <div class="formtitle"><span>基本信息</span></div>
    <li><input name="" type="button" onclick="downloadMb()" class="btn" value="下载模板"/></li>
    <div class="xline"></div>
    <form th:action="@{'/achievement/uploadClazzXls?id='+${examInfo.id}}" enctype="multipart/form-data" method="post"
          style="margin-top: 25px;">
        <li><input name="file" type="file"/></li>
        <li><input name="" type="submit" class="btn" value="上传"/></li>
    </form>
</ul>


<script type="text/javascript" th:inline="javascript">
    function downloadMb() {
        location.href = "/achievement/downloadClazzXls?id=" + [[${examInfo.id}]]
    }
</script>
</body>

</html>
